/*
 * Copyright (C), 2014-2015, 杭州小卡科技有限公司
 * Created by ciwei@xiaokakeji.com on 2016/08/29.
 */
package com.micromall.repository.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ciwei@xiaokakeji.com
 * @date 2016/08/29.
 */
public class RechargeRecord extends IdEntity {

	// 所属用户id
	private Integer    uid;
	// 充值订单号
	private String     orderNo;
	// 充值金额
	private BigDecimal amount;
	// 充值折扣
	private BigDecimal discount;
	// 充值面额编码
	private String     code;
	// 是否已经支付
	private boolean    paid;
	// 支付时间
	private Date       paidTime;
	// 创建时间
	private Date       createTime;

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public boolean isPaid() {
		return paid;
	}

	public void setPaid(boolean paid) {
		this.paid = paid;
	}

	public Date getPaidTime() {
		return paidTime;
	}

	public void setPaidTime(Date paidTime) {
		this.paidTime = paidTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
